# 课堂作业：P51-44..2
import random

# tea容器
teachers = ['1', '2', '3', '4', '5', '6', '7', '8']
# 教室容器
rooms = [[], [], []]
for item in teachers:
    num = random.randint(0, 2)
    rooms[num].append(item)
print(rooms.__str__())
print(teachers.__str__())
